package com.yangxk.kadmin.generator.template.sub;

import com.yangxk.kadmin.generator.constant.Const;

import java.util.HashMap;
import java.util.Map;

public class TreeTableTemplatePath extends AbstractTemplatePath {

    @Override
    protected Map<String, String> add() {
        Map<String, String> result = new HashMap<>();
        result.put(Const.MAPPER_TEMPLATE, "template/treetable/mapper.vm");
        result.put(Const.XML_TEMPLATE, "template/treetable/xml.vm");
        result.put(Const.SERVICE_TEMPLATE, "template/treetable/service.vm");
        result.put(Const.SERVICE_IMPL_TEMPLATE, "template/treetable/serviceImpl.vm");
        result.put(Const.CONTROLLER_TEMPLATE, "template/treetable/controller.vm");
        result.put(Const.VO_TEMPLATE, "template/treetable/vo.vm");
        result.put(Const.VUE_PAGE_TEMPLATE, "template/treetable/vue/list.vm");
        result.put(Const.VUE_PAGE_DATASCOPE_TEMPLATE, "template/treetable/vue/list.vm");
        result.put(Const.VUE_API_TEMPLATE, "template/treetable/vue/api.vm");

        return result;
    }

}
